import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import * as echarts from 'echarts'
import './mockjs/mockIndex.js'

//ui引入
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

// 导入百度地图
import BaiduMap from 'vue-baidu-map'
//使用百度地图
Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: 'Drf38Qi6jOAOttXrqQPczWXM2HAUHeWa'
})
//使用
Vue.use(ElementUI);
Vue.config.productionTip = false
Vue.prototype.$echarts = echarts
// Vue.prototype.$echarts.registerTheme('default',theme)
new Vue({
	el: '#app',
	router,
	store,
	render: h => h(App)
}).$mount('#app')
